package [basepackage].service;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(name = "demo-micro", fallback = FeignServiceHystrix.class)
public interface FeignService {
	@RequestMapping(value = "/exinfo", method = RequestMethod.GET)
	public String exinfo();

	@RequestMapping(value = "/timeout", method = RequestMethod.GET)
	public String timeout();
}
